<?php
$form = $this->beginWidget('CActiveForm', array(
    'id' => 'frm-search-popup',
    'action' => Yii::app()->createUrl($this->route),
    'method' => 'get',
   ));
?>
<table cellspacing="0" cellpadding="0" border="0">
    <tbody>
        <tr>            
            <td>
                <?php
                echo $form->textField($model, 'comment_text', array('autocomplete' => 'off', 'style' => 'width:200px',
                    'placeholder' => t('MSG_COMMENT_OR_USERNAME', 'messages'),
                    'class' => 'keyword'
                ));
                ?>
            </td>
            <td>
                <?php echo $form->dropDownList($model, 'status', Html::listData(LGHelpers::getCommentStatuses(), 'id', 'name'), array('empty' => t('MSG_FIRST_COMMENT', 'messages'))); ?>
            </td>
            <td>
                <?php echo Html::buttonPopupFilter(); ?>
            </td>
        </tr>
    </tbody>
</table>
<?php $this->endWidget(); ?>


